package mapper.productMapper;


import entity.productEntity.Category;

import java.util.List;

public interface CategoryMapper {
    List<Category> selectAll(Long id);
    List<Category> selectparents(Integer id);
    int deleteByPrimaryKey(Long id);

    int insert(Category record);

    int insertSelective(Category record);

    Category selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Category record);

    int updateByPrimaryKey(Category record);
}